import { request } from '../../requests'
import { buildPostApi } from '../index'
import { buildGetApi } from '../index'

export const sendSms = (phoneNumber: string, msgCodeType: string, graphCode: string) =>
  request(buildGetApi('/sms'), { phoneNumber, msgCodeType, graphCode }, {}, true, false) as Promise<any>
